<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	pageContext.setAttribute("basePath", basePath);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理 - 智慧碎片</title>
<link type="text/css" rel="stylesheet" href="${ basePath}css/style.css" />
<script type="text/javascript"
	src="${ basePath}scripts/function-manage.js"></script>
</head>
<body onload="time()">
<div id="header">
<div id="logo"><img src="${ basePath}images/logo.png" width="15px"
	height="20px" /> 智慧碎片系统管理后台</div>
</div>
<div id="childNav">
<div class="welcome wrap">管理员<span style="color: #660033">${sessionScope.user.userName
}</span>您好,欢迎回到管理后台。 <em><a
	href="${ basePath}new/userAction!logout.action"><span
	style="color: #660033; font-size: 20px;">注销</span></a></em></div>
</div>
<div id="main" class="wrap">
<div id="menu-mng" class="lefter">
<div class="box">
<dl>
	<dt>用户管理</dt>
	<dd><em><a href="${ basePath}new/userAddAction.action">新增</a></em><a
		href="${ basePath}new/userAction!select.action">用户管理</a></dd>
	<dt>新闻管理</dt>
	<dd><em><a href="${ basePath}new/newsTypeAddAction.action">新增</a></em><a
		href="${ basePath}new/newsTypeAction!select.action">分类管理</a></dd>
	<dd><em><a href="${ basePath}new/newsAddAction.action">新增</a></em><a
		href="${ basePath}new/newsAction!select.action">新闻管理</a></dd>
	<dt>评论管理</dt>
	<dd><a href="${ basePath}new/commentAction!select.action">评论管理</a></dd>
</dl>
</div>
</div>
<div class="main">
<h2>管理首页</h2>
<div id="welcome" class="manage">
<div class="shadow"><em class="corner lb"></em> <em
	class="corner rt"></em>
<div class="box">
<div class="msg">
<p>欢迎回来</p>
</div>
</div>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<div id="footer">Copyright &copy; 2013 智慧碎片 All Rights Reserved. 京ICP证1000001号</div>
</body>
</html>
